﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Devision
{
    class get_coast
    {
        public int coast;
        public int getCoast(Weapon a, int A, Weapon b, int B, Weapon c, int C, Weapon d, int D)
        {
            coast = a.coast * A + b.coast * B + c.coast * C + d.coast * D;
            //Console.WriteLine("\nCoast for full devision = " + coast + "рублей");
            return coast;
        }
    }
}
